package com.media.publish.utils;

import android.os.Environment;

import com.baselibrary.utils.StorageUtils;

/**
 * 定义 app 视频相关的存储路径
 */
public class Config {
    public static final String VIDEO_STORAGE_DIR = StorageUtils.getAppPath(StorageUtils.SHORT_VIDEO_PATH);
    public static final String RECORD_FILE_PATH = VIDEO_STORAGE_DIR + "record.mp4";
    public static final String EDITED_FILE_PATH = VIDEO_STORAGE_DIR + "edited.mp4";
    public static final String GIF_STICKER_DIR = Environment.getExternalStorageDirectory() + "/NiuPai/gif/";
    public static final String CAPTURED_FRAME_FILE_PATH = VIDEO_STORAGE_DIR;
    public static final String TRANSCODE_FILE_PATH = VIDEO_STORAGE_DIR + "transcoded.mp4";//视频裁剪
    public static final String TRIM_FILE_PATH = VIDEO_STORAGE_DIR + "trimmed.mp4";//视频裁剪
    public static final long VIDEO_MAXDURATIONMS = 1000 * 300+1000;//视频最大时长
}
